import request from '@/utils/request'

// 查询解锁城市对应的证券知识内容列表
export function listCity_content(query) {
  return request({
    url: '/admin/city_content/list',
    method: 'get',
    params: query
  })
}

// 查询解锁城市对应的证券知识内容详细
export function getCity_content(id) {
  return request({
    url: '/admin/city_content/' + id,
    method: 'get'
  })
}

// 新增解锁城市对应的证券知识内容
export function addCity_content(data) {
  return request({
    url: '/admin/city_content',
    method: 'post',
    data: data
  })
}

// 修改解锁城市对应的证券知识内容
export function updateCity_content(data) {
  return request({
    url: '/admin/city_content',
    method: 'put',
    data: data
  })
}

// 删除解锁城市对应的证券知识内容
export function delCity_content(id) {
  return request({
    url: '/admin/city_content/' + id,
    method: 'delete'
  })
}

// 导出解锁城市对应的证券知识内容
export function exportCity_content(query) {
  return request({
    url: '/admin/city_content/export',
    method: 'get',
    params: query
  })
}